/* 让文字区域定位到中间，普通的margin不行，需要用绝对定位 */
.carousel .center {
  height: 100%;
  width: 1152px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -576px;
}

.carousel .center .location {
  width: 296px;
  height: 100%;
}

.carousel .center .location .mainMenuBox {
  height: 100%;
}

/* 配合鼠标移入移出事件实现轮播图的暂停和自动播放 */
.carousel .center .location:hover {
  width: 652px;
}

.carousel .center .location .mainMenu {
  background-color: rgba(0, 0, 0, 0.4);
  width: 296px;
  height: 100%;
}

.carousel .center .location .mainMenu>li {
  height: 16.66%;
  width: 100%;
  position: relative;
  /* 此处绘制边框线不改变布局的方法 */
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.carousel .center .location .mainMenu>li.current {
  background-color: rgba(0, 0, 0, 0.2);
}

.carousel .center .location .mainMenu>li.none {
  border-bottom: 1px solid transparent;
}

/* 让li里面的dl绝对定位垂直居中 */
.carousel .center .location .mainMenu>li dl {
  position: absolute;
  height: 48px;
  left: 42px;
  top: 50%;
  margin-top: -24px;
}

.carousel .center .location .mainMenu>li dl dt {
  font-size: 18px;
  color: #fff;
  line-height: 26px;
}

.carousel .center .location .mainMenu>li dl dd {
  font-size: 14px;
  color: #fff;
  line-height: 22px;
}

/* 制作li里面的小图标 */
.carousel .center .location .mainMenu>li .littleIcon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  margin-top: -12px;
  left: 10px;
}

.carousel .center .location .mainMenu li.hot .littleIcon {
  background: url(images/sprite.png) no-repeat -4px -98px;
}

.carousel .center .location .mainMenu li.hk .littleIcon {
  background: url(images/sprite.png) no-repeat -2px -125px;
}

.carousel .center .location .mainMenu li.japan .littleIcon {
  background: url(images/sprite.png) no-repeat -3px -150px;
}

.carousel .center .location .mainMenu li.asia .littleIcon {
  background: url(images/sprite.png) no-repeat -1px -177px;
}

.carousel .center .location .mainMenu li.eu .littleIcon {
  background: url(images/sprite.png) no-repeat -2px -202px;
}

.carousel .center .location .mainMenu li.au .littleIcon {
  background: url(images/sprite.png) no-repeat -2px -222px;
}

/* 制作li右侧的箭头 */
.carousel .center .location .mainMenu>li .to {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  margin-top: -12px;
  right: 9px;
  color: #fff;
  text-align: center;
  line-height: 24px;
}

/* 次级菜单的布局 */
.carousel .center .location div.subMenu {
  height: 100%;
  width: 338px;
  /* 为了触发鼠标移出事件监听 */
  padding: 2px 10px;
  top: 0;
  position: absolute;
  left: 296px;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 99;
}

.carousel .center .location:hover div.subMenu {
  display: block;
}

/* 次级菜单的样式书写 */
.carousel .center .location .secondary ul {
  padding-top: 16px;
  margin: 0 12px;
}

.carousel .center .location .secondary ul li {
  margin-bottom: 12px;
}

.carousel .center .location .secondary ul li h3 {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 4px;
  color: #fff;
}

.carousel .center .location .secondary ul li a {
  font-size: 14px;
  line-height: 22px;
  margin-right: 4px;
  cursor: pointer;
}

.carousel .center .location .secondary ul li a:hover {
  color: #20BD9A;
}